package com.kebabeaters.nakebab.client.bl;

import java.util.List;

public class Family<T> {

	private final ElementDescription<T> mainElement;
	
	private final List<ElementDescription<T>> children;

	public Family(ElementDescription<T> mainElement, List<ElementDescription<T>> children) {
		this.mainElement = mainElement;
		this.children = children;
	}

	public List<ElementDescription<T>> getChildren() {
		return children;
	}
	
	public ElementDescription<T> getMainElement() {
		return mainElement;
	}
}
